<template>
	<view class="box">
		<view class="notification flex_r_around" :id="show ? 'show' : ''">
			<image :src="$util.prefix('game/notice_bg.png')" mode="aspectFill"></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		
		props: {
			show: {
				type: Boolean,
				default: true,
			}
		},
		
		methods: {
			
		}
	}
</script>

<style lang="less" scoped>
	.notification {
		width: 648rpx;
		height: 520rpx;
		transform: translateY(-520rpx);
		transition: 0.8s;
		position: fixed;
		top: 0;
		left: 10rpx;
		z-index: 10;
		image {
			width: 648rpx;
			height: 520rpx;
		}
	}
	
	#show {
		transform: translateY(0rpx);
	}
</style>
